package com.aopcinemas.visitor.ontology;

import jade.content.onto.BeanOntology;
import jade.content.onto.BeanOntologyException;

import com.aopcinemas.visitor.model.Campaign;

public class VisitorOntology extends BeanOntology {

    private static final long serialVersionUID = 1L;

    public static final String NAME = "visitor-ontology";

    private static final VisitorOntology _instance = new VisitorOntology();

    private VisitorOntology() {
        super(NAME);
        try {
            add("com.aopcinemas.cinema.model");
            add(Campaign.class);
            add(GetCampaign.class);
            add(CampaignRequest.class);
        } catch (BeanOntologyException e) {
            throw new RuntimeException(e);
        }

    }

    public static VisitorOntology getInstance() {
        return _instance;
    }

}
